﻿<%@ Page Language="C#" %>
<%@ Import Namespace="System.Linq" %>
<%--可以把每一个报表当作菜单挂入系统
如：ModulePlugin/ReportManager/PageUI/ReportMenuDataShow.aspx?reportId=2--%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>报表展示</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <link rel="stylesheet" type="text/css" href="../../../WebPlugin/jquery-easyui/themes/default/easyui.css"/>
	<link rel="stylesheet" type="text/css" href="../../../WebPlugin/jquery-easyui/themes/icon.css"/>
	<script type="text/javascript" src="../../../WebPlugin/jquery-easyui/jquery-1.7.1.min.js"></script>
	<script type="text/javascript" src="../../../WebPlugin/jquery-easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="../../../WebPlugin/jquery-easyui/locale/easyui-lang-zh_CN.js"></script>

    <script src="../../../WebPlugin/jquery-easyui/JQueryCommon.js" type="text/javascript"></script>
    <script src="../../../WebPlugin/CrystalReport/Print.js" type="text/javascript"></script>
    <script src="../PageJS/ReportMenuDataShow.js" type="text/javascript"></script>
    <script language="javascript">
        var reportId=<%=Request.Params.AllKeys.Contains("reportId") == true ? Request["reportId"] : "''"%>
    </script>
</head>
<body class="easyui-layout">
 <div id="resultDiv" region="center">
    <div style="padding:0px;background:#efefef;">
       <a id="btn_searchReport" href="#" class="easyui-linkbutton" disabled="true" plain="true" iconCls="icon-search" onclick="onStartSearchData()">查询报表</a>
    </div>
    <%--动态添加报表预览控件--%>
    <div id="printDiv"></div>
 </div>
</body>

<div id="dlgresult-addData" class="easyui-dialog" title="输入报表查询条件" style="width:400px;height:250px;padding:5px" buttons="#dlgresult-buttonsadddata" resizable="true" modal="true">
     <div id="addDataDiv" class="easyui-panel" fit="true" border="false"></div>
</div>
<div id="dlgresult-buttonsadddata">
    <a href="#" class="easyui-linkbutton" onclick="dlgsearch_reportOk();">确定</a>
    <a href="#" class="easyui-linkbutton" onclick="$('#dlgresult-addData').dialog('close');">取消</a>
</div>
</html>
